import flash.geom.ColorTransform;
import flash.geom.Transform;
class com.live5.controls.Control extends MovieClip
{
	var baseColor:Number=0xff0000;
	var bgName="bg";
	function Control()
	{
		SetColor(baseColor);
	}
	function SetColor(color:Number){
		
		var colorTrans:ColorTransform = new ColorTransform();
		colorTrans.rgb=color;
		//colorTrans.greenMultiplier=10;
		var trans:Transform = new Transform(this[bgName]);
		trans.colorTransform = colorTrans;
	}
}
